<!DOCTYPE html>
<html lang="en">

<!-- Head tag -->
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="baidu-site-verification" content="sN4ehoVl1k" />
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="keywords" content="午休随笔,午休服务站,薛山山博客,web前端开发,技术博客">
	<meta name="description" content="薛山山在 Github 上的个人博客，主要从事web前端开发，移动端为主。此博客持续更新，欢迎大家关注。">
	<link rel="shortcut icon" href="/images/favicon.ico">

	<title>
		
		午休随笔
		
	</title>

	<link rel="canonical" href="http://xueshanshan.com/">

	<!-- Bootstrap Core CSS -->
	<link rel="stylesheet" href="/css/bootstrap.min.css">

	<!-- Custom CSS -->
	<link rel="stylesheet" href="/css/blog-style.css">

	<!-- Pygments Github CSS -->
	<link rel="stylesheet" href="/css/syntax.css">

	<!-- Custom Fonts -->
	<link href="http://cdn.staticfile.org/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">

	<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
	<!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
	<script>
		var _hmt = _hmt || [];
		(function() {
			var hm = document.createElement("script");
			hm.src = "//hm.baidu.com/hm.js?d6060b9d9c759548bc26bce7cb0612fd";
			var s = document.getElementsByTagName("script")[0];
			s.parentNode.insertBefore(hm, s);
		})();
	</script>

	<!-- ga & ba script hoook -->
	<script></script>
</head>
<style>
    .intro-header{
        background-image:url(
        'null'
        )
    }
</style>
<!-- hack iOS CSS :active style -->
<body ontouchstart="">
<!-- Navigation -->
<nav class="navbar navbar-default navbar-custom navbar-fixed-top " data-ispost = "false" data-istags="false
" data-ishome = "true" >
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header page-scroll">
            <button type="button" class="navbar-toggle">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/">
                <span class="brand-logo">
                    午休随笔
                </span>
                's Blog
            </a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <!-- Known Issue, found by Hux:
            <nav>'s height woule be hold on by its content.
            so, when navbar scale out, the <nav> will cover tags.
            also mask any touch event of tags, unfortunately.
        -->
        <!-- /.navbar-collapse -->
        <div id="huxblog_navbar">
            <div class="navbar-collapse">
                <ul class="nav navbar-nav navbar-right">
                    <li>
                        <a href="/">Home</a>
                    </li>

                    

                </ul>
            </div>
        </div>
    </div>
    <!-- /.container -->
</nav>
<script>
    // Drop Bootstarp low-performance Navbar
    // Use customize navbar with high-quality material design animation
    // in high-perf jank-free CSS3 implementation
    var $body   = document.body;
    var $toggle = document.querySelector('.navbar-toggle');
    var $navbar = document.querySelector('#huxblog_navbar');
    var $collapse = document.querySelector('.navbar-collapse');

    $toggle.addEventListener('click', handleMagic)
    function handleMagic(e){
        if ($navbar.className.indexOf('in') > 0) {
        // CLOSE
            $navbar.className = " ";
            // wait until animation end.
            setTimeout(function(){
                // prevent frequently toggle
                if($navbar.className.indexOf('in') < 0) {
                    $collapse.style.height = "0px"
                }
            },400)
        }else{
        // OPEN
            $collapse.style.height = "auto"
            $navbar.className += " in";
        }
    }
</script>

    <!-- Main Content -->
    

    <style>

        .custom-haojen-container .post-preview:nth-of-type(1),
        .custom-haojen-container .post-preview-poetry:nth-of-type(1){
            text-align: center;
            background-repeat: no-repeat;
            border-radius: 3px;
            background-size: cover;
            padding:0;
            height: 300px;
            display: table;
            width: 100%;
            background-color: rgba(0, 0, 0, 0.16);
        }
        /*去掉诗歌的背景图片*/
        .custom-haojen-container .post-preview-poetry:nth-of-type(1){
            background-image: none!important;
            background-color: rgba(255, 248, 220, 0.5);
        }

        .custom-haojen-container .post-preview:nth-child(1) h2,
        .custom-haojen-container .post-preview:nth-child(1) .post-meta,
        .custom-haojen-container .post-preview:nth-child(1) .post-subtitle {
            text-shadow: 0 0 40px rgba(0, 0, 0, 1);
            letter-spacing: 1px;
            color: #fff;
            font-family: unset;
            font-weight: 500;
            margin-top: 0;
            padding-left: 60px;
            padding-right: 60px;
        }

        .custom-haojen-container .post-preview:nth-child(1) .post-meta{
            font-size: .9em;
            font-weight: 300;
            margin-top: 0;
        }
        .custom-haojen-container .post-preview-poetry:nth-child(1) .post-subtitle{
            letter-spacing: 6px;
            font-size: 18px;
            font-family: unset;
            font-weight: 400;
            color: rgba(0,0,0,.75)
        }
        /*不显示摘要*/
        .custom-haojen-container .post-preview:nth-child(1) .post-content-preview{display: none}
        /*只第一个显示背景图片*/
        .custom-haojen-container .post-preview:not(:nth-child(1)){
            background-image: none!important;
        }
        /*第一个分界线去掉*/
        .custom-haojen-container hr:nth-of-type(1){
            display: none;
        }
        /*主题*/
        .custom-haojen-container .post-preview:nth-of-type(1)>a{
            display: table-cell;
            vertical-align: middle;
        }
        /*诗词标题*/
        .custom-haojen-container .post-preview-poetry:nth-child(1) h2{
            font-size: 35px;
            font-family:  STKaiti;
            color: rgba(0,0,0,.8);
        }
        .custom-haojen-container .post-preview-poetry:nth-of-type(1) .post-meta{
            color: #0e2231;
        }
        @media (max-width: 768px)  {
            .custom-haojen-container .post-preview:nth-child(1) {
                height: 240px;
            }
            .custom-haojen-container .post-preview-poetry:nth-child(1) h2{
                font-size: 28px!important;
                margin-top: 0;
            }
            .custom-haojen-container .post-preview:nth-child(1) .post-subtitle{
                font-size: 18px;
                font-weight:400;
                padding-left: 0;padding-right: 0;
            }
            .custom-haojen-container .post-preview:nth-of-type(1) > a{padding: 20px}
        }

        /*手机屏幕*/
        @media (max-width: 400px){
            .custom-haojen-container .post-preview:nth-child(1){
                height: 195px;
            }
            .custom-haojen-container .post-preview-poetry:nth-child(1) h2{
                font-size: 20px!important;
            }
            .custom-haojen-container .post-preview:nth-child(1) .post-subtitle{
                font-size: 16px;
            }
            .custom-haojen-container .post-preview:nth-child(1) a{
                padding: 30px 20px;
            }
        }
    </style>

<!-- Page Header -->
    <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 visible-xs-block visible-sm-block">
    <div class="row">
        <header class="intro-header">
            <div class="container">
                <div class="site-heading text-center">
                    <div class="about-me">
                        <!--移动端头部显示-->
                        <img src="/images/head.jpeg" />
                        <h5><a href="/about/">xuess</a></h5>
                        <p>Stay Hungry , Stay Foolish</p>
                    </div>
                </div>
            </div>
        </header>
    </div>
    </div>
<!-- Main Content -->
<div class="container custom-haojen-container">
    <!-- Post Container -->
    <div class="row">
        <div class="col-lg-8 col-lg-offset-1 col-md-8 col-md-offset-1 col-sm-12 col-xs-12 post-container">
            <!-- Main Content -->




<div class="post-preview "
        style="background-image: url('/images/pc-bg.jpg')">
        <a href="/2017/02/23/blogs/">
        <h2 class="post-title">
            blogs
        </h2>
        <p class="post-meta">
            2017-02-23
        </p>
        
        <div class="post-content-preview">
            <p>
                你好
你好。


            </p>
        </div>
    </a>

</div>
<hr>


<div class="post-preview "
        style="background-image: url('/images/pc-bg.jpg')">
        <a href="/2017/02/23/vue/">
        <h2 class="post-title">
            vue
        </h2>
        <p class="post-meta">
            2017-02-23
        </p>
        
        <div class="post-content-preview">
            <p>
                你好这个是测试语句块！！！
            </p>
        </div>
    </a>

</div>
<hr>


<div class="post-preview "
        style="background-image: url('/images/pc-bg.jpg')">
        <a href="/2016/06/03/hello-world/">
        <h2 class="post-title">
            Hello World
        </h2>
        <p class="post-meta">
            2016-06-03
        </p>
        
        <div class="post-content-preview">
            <p>
                Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer ...
            </p>
        </div>
    </a>

</div>
<hr>



<!-- 翻页 pager -->

<ul class="pager">
    
    
</ul>


        </div>
    <!-- Sidebar Container -->
            <div class="
                col-lg-3 col-lg-offset-0
                col-md-3 col-md-offset-0
                col-sm-12
                col-xs-12
                sidebar-container
            ">

                <!-- About Me -->
                <section class="visible-md visible-lg" style="padding: 0 18px">
                    <div class="short-about">
                        <!--侧边栏头像-->
                        
                            <img src="/images/head.jpeg " />
                        
                        <h5><a href="/about/">xuess</a></h5>
                        
                            <p>Stay Hungry , Stay Foolish</p>
                        
                        <hr>
                        <!-- SNS Link 社交 -->
                        <ul class="list-inline">
                            
                            
                            

                            
                                <li>
                                    <a target="_blank" href="http://weibo.com/test5433">
                                        <span class="fa-stack fa-lg">
                                            <i class="fa fa-circle fa-stack-2x"></i>
                                            <i class="fa fa-weibo fa-stack-1x fa-inverse"></i>
                                        </span>
                                    </a>
                                </li>
                            

                            

                            
                                <li>
                                    <a target="_blank"  href="https://github.com/xuess">
                                        <span class="fa-stack fa-lg">
                                            <i class="fa fa-circle fa-stack-2x"></i>
                                            <i class="fa fa-github fa-stack-1x fa-inverse"></i>
                                        </span>
                                    </a>
                                </li>
                            


                            
                        </ul>
                    </div>
                </section>

                <!-- Featured Tags  标签 -->
                
                <section>
                    <div class="tags">
                        
                    </div>
                </section>
                

            </div>
    </div>
</div>


    <!-- Footer -->
    
<!-- 多说评论框 start -->
<div class="ds-thread" data-thread-key="index.html" data-title="" data-url=""></div>
<!-- 多说评论框 end -->

<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
<script type="text/javascript">
	var duoshuoQuery = { short_name: "xuess" };
	(function() {
		var ds = document.createElement('script');
		ds.type = 'text/javascript';
		ds.async = true;
		ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
		ds.charset = 'UTF-8';
		(document.getElementsByTagName('head')[0] ||
			document.getElementsByTagName('body')[0]).appendChild(ds);
	})();
</script>
<!-- 多说公共JS代码 end -->

<!-- Footer -->
<footer>
    <div class="container">
        <div class="row">
            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
                <ul class="list-inline text-center">
                
                
                

                
                    <li>
                        <a target="_blank" href="http://weibo.com/test5433">
                            <span class="fa-stack fa-lg">
                                <i class="fa fa-circle fa-stack-2x"></i>
                                <i class="fa fa-weibo fa-stack-1x fa-inverse"></i>
                            </span>
                        </a>
                    </li>
                

                

                
                    <li>
                        <a target="_blank"  href="https://github.com/xuess">
                            <span class="fa-stack fa-lg">
                                <i class="fa fa-circle fa-stack-2x"></i>
                                <i class="fa fa-github fa-stack-1x fa-inverse"></i>
                            </span>
                        </a>
                    </li>
                

                

                </ul>
                <p class="copyright text-muted">
                    Copyright &copy; 午休随笔 2017 
                    <br>
                    <!--Theme by <a href="https://github.com/Kaijun/">Kaijun</a>-->
                    <!--<span style="display: inline-block; margin: 0 5px;">-->
                        <!--<i class="fa fa-heart"></i>-->
                    <!--</span> -->
                    <!--Theme by <a href="http://ehazon.github.io/">Haojen Ma</a>-->
                    <!--<iframe-->
                        <!--style="margin-left: 2px; margin-bottom:-5px;"-->
                        <!--frameborder="0" scrolling="0" width="91px" height="20px"-->
                        <!--src="https://ghbtns.com/github-btn.html?user=kaijun&repo=hexo-theme-huxblog&type=star&count=true" >-->
                    <!--</iframe>-->
                </p>
            </div>
        </div>
    </div>
</footer>

<!-- jQuery -->
<script src="/js/jquery.min.js"></script>

<!-- Bootstrap Core JavaScript -->
<script src="/js/bootstrap.min.js"></script>

<!-- Custom Theme JavaScript -->
<script src="/js/blog.js"></script>


<!-- async load function -->
<script>
    function async(u, c) {
      var d = document, t = 'script',
          o = d.createElement(t),
          s = d.getElementsByTagName(t)[0];
      o.src = u;
      if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
      s.parentNode.insertBefore(o, s);
    }
</script>


<!-- jquery.tagcloud.js -->
<script>
    // only load tagcloud.js in tag.html
    if($('#tag_cloud').length !== 0){
        async("http://xueshanshan.com/js/jquery.tagcloud.js",function(){
            $.fn.tagcloud.defaults = {
                //size: {start: 1, end: 1, unit: 'em'},
                color: {start: '#bbbbee', end: '#0085a1'},
            };
            $('#tag_cloud a').tagcloud();
        })
    }
</script>

<!--fastClick.js -->
<script>
    async("http://cdn.bootcss.com/fastclick/1.0.6/fastclick.min.js", function(){
        var $nav = document.querySelector("nav");
        if($nav) FastClick.attach($nav);
    })
</script>


<!-- Google Analytics -->




<!-- Baidu Tongji -->


<!-- Side Catalog -->


    <!--wechat title img-->
    <img class="wechat-title-img" src="/images/head.jpeg">
</body>

</html>
